export default{
	data(){
		return {
			chartData: {},
			opts: {
				color: ["#EE6666","#ea7ccc","#FAC858","#73C0DE","#3CA272","#FC8452","#9A60B4"],
				padding: [15,15,0,5],
				fontSize: 12,
				legend: {show:false},
				xAxis: {
					axisLineColor: "#dd6161",
				},
				yAxis: {
					disabled: true,
					disableGrid: true,
					data: [{ min: 0 }]
				},
				extra: {
					mount: {
					  type: "bar",
					  widthRatio: 0.6,
						linearType:'opacity',
						linearOpacity: 0.6,
						colorStop: 0.6
					}
				}
			}
		}
	},
	// onReady() {
	// 	this.getServerData();
	// },
	// methods:{
	// 	getServerData(){
	// 		let res = {
	// 			categories: ["08-17","08-18","08-19","08-20","08-21","08-22","08-23"],
	// 			series: [
	// 				{
	// 					name: "销售额（元）",
	// 					data: [8635,8878.53,8255.3,8587.65,9587.2,8230.65,8768.65]
	// 				}
	// 			]
	// 		}
	// 		this.chartData = JSON.parse(JSON.stringify(res));
	// 	}
	// }
}